<extend name="Public/base"/>
<block name="head">
	<link href="__MOBILE__/css/topic.css" rel="stylesheet">
	<style type="text/css">
		<notempty name="topic.background_color">
			body{
				background-color:{$topic.background_color};
			}
		</notempty>
    </style>
</block>
<block name="body">
<div class="container" >
    	<div class="jumbotron">
    	  <img class="img-responsive" alt="{$topic.topic_name}" src="{$topic.pic_url|get_image_url}">
		</div>
		<div class="row">
			<include file="Public:goods_list" />
		</div>
	 	
	 	
</div>
</block>
<block name="script">
	$(function(){
		$('.goods-list').find('li').each(function(){
			
			a = $('.goods-list').innerWidth()*1.35;
			
			$(this).innerHeight(Math.round(a)-1);	
			
		});
	});
</block>
